@-webkit-keyframes rotate {0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);}50% {-webkit-transform: rotate(180deg);transform: rotate(180deg);}100% {-webkit-transform: rotate(360deg);transform: rotate(360deg); }}
@-o-keyframes rotate {0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);}50% {-webkit-transform: rotate(180deg);transform: rotate(180deg);}100% {-webkit-transform: rotate(360deg);transform: rotate(360deg); }}
@-moz-keyframes rotate {0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);}50% {-webkit-transform: rotate(180deg);transform: rotate(180deg);}100% {-webkit-transform: rotate(360deg);transform: rotate(360deg); }}
@keyframes rotate {0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);}50% {-webkit-transform: rotate(180deg);transform: rotate(180deg);}100% {-webkit-transform: rotate(360deg);transform: rotate(360deg); }}
#cover-cav {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -40px 0 0 -20px;
    border-radius: 100%;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    border: 7px solid #4169E1;
    /*border-bottom-color: transparent;*/
    border-top-color: transparent;
    background: transparent !important;
    -moz-animation: rotate 0.5s 0s linear infinite;
    -o-animation: rotate 0.5s 0s linear infinite;
    -webkit-animation: rotate 0.5s 0s linear infinite;
    animation: rotate 0.5s 0s linear infinite;
}

#sugar-cover {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.7);
    width: 100%;
    height: 100%;
    display: none;
}

#sugar-tools-infoBox, #sugar-tools-alert {
    position: fixed;
    width:100%;
    height:100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0);
    display: none;
}
#infoBox-box, #sugar-alert {
    position: relative;
    float: left;
    width: 90%;
    margin: 0 0 0 5%;
    background: #F8F8FF;
    background: hsla(0, 0%, 100%, .3);
    border: 1px solid #D3D3D3;
    top: 30%;
    content: '';
    overflow: hidden;
}
#sugar-alert {
    top: 40px;
    background: white;
}

#infoBox-box input[type="text"],  #infoBox-box input[type="password"]{
    float: left;
    width: 90%;
    height: 2rem;
    margin: 1rem 0 0 5%;
    border: 1px solid #708090;
    border-left: 4px solid #6495ED;
    font-size: 1.2em;
    color: hsl(210, 13%, 30%);
}
.infobox-nav, .alert-nav {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 2.5rem;
    background: #515151;
    text-align: center;
    line-height: 2.5rem;
    color: white;
}

#alert-text {
    float: left;
    font-size: 1.2em;
    width: 100%;
    height: 4em;
    line-height: 4em;
    text-align: center;
    text-shadow: 0 0 .1em white;
}

#alert-close {
    float: left;
    position: relative;
    left: 50%;
    width: 5em;
    height: 1.5em;
    margin: 0 0 1em -2.5em;
    padding: .2em;
    text-align: center;
    background: #58a;
    color: white;
}

#infobox-sub, #infobox-reg {
    position: relative;
    left: 34%;
    margin: 1rem 0 1rem -3rem;
    float: left;
    width: 5rem;
    height: 2rem;
    background: white;
    color: #333;
    line-height: 2rem;
    text-align: center;
    border: 1px solid #708090;
}
#infobox-reg {
    margin: 1rem 0 1rem 4rem;
}